pub mod player;
pub use player::MediaPlayer;

pub mod common;
pub use common::DecoderData;
pub use common::Packet;
pub use common::PlayStatus;

pub mod video;
pub use video::VideoPlayer;

pub mod audio;
pub use audio::AudioPlayer;

pub mod error;
pub use error::CustomError;

pub const PACKET_QUEUE_MAX_SIZE: usize = 1024;
pub const FRAME_QUEUE_MAX_SIZE: usize = 1;
pub const MAX_AUDIO_FRAME_SIZE: i32 = 19200;
pub const MAX_STOP_SLEEP_TIME: u64 = 5;
